package com.itheima.mapper;

import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealMapper {
    void addSetmeal(Setmeal setmeal);

    void addSetmealAndCheckItem(Integer setmealId, Integer checkitemId);

    void edit(Setmeal setmeal);

    void deleteByIdFromCheckGroupAndSetmeal(Integer setmealId);

    Setmeal findById(Integer id);

    List<Setmeal> findPage(QueryPageBean queryPageBean);
}
